

<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">平台</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <select name="mall_id">
          {{#  layui.each(jetee['mall'], function(index, item){ }}
          <option value="{{ item['id'] }}" {{ d.params.mall_id === item['id'] ? 'selected' : '' }}>{{ item['name'] }}</option>
          {{#  }); }}
        </select>
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">店铺名称</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="name" value="{{ d.params.name || '' }}" lay-verify="required" placeholder="请输入店铺名称" autocomplete="off" maxlength="100" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">店铺首页网址</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="url" value="{{ d.params.url || '' }}" lay-verify="url" placeholder="请输入店铺首页网址" autocomplete="off" maxlength="500" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">店铺截图</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="img" value="{{ d.params.img || '' }}" lay-verify="required" placeholder="请输入店铺截图" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">接单间隔(天)</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="number" name="gapday" value="{{ d.params.gapday || '0' }}" lay-verify="number" placeholder="请输入接单间隔" step="10" min="0" max="360" class="layui-input">
      </script>
    </div>
  </div>
  <script type="text/html" template>
    <input type="hidden" name="id" value="{{ d.params.id || '' }}">
  </script>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

<script>
layui.use(['admin', 'form'], function(){
  var $ = layui.$
  ,form = layui.form;
  
});
</script>